﻿using System.Collections.Generic;
using CoreLibrary.Service;

namespace CoreLibrary.Storage {

    public interface IStorageService : IService {

        bool TryGetItem(string path, out StorageItem item);
        StorageItem GetItem(string path);

        void PutItem(StorageItem item);
        bool TryPutItem(StorageItem item);

        void CopyItem(StorageItem item, string targetPath);
        bool TryCopyItem(StorageItem item, string path);

        void RemoveItems(IEnumerable<string> itemPaths);
        bool TryRemoveItems(IEnumerable<string> itemPaths);

    }

}